package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 朱华扬
 * @date 2022/10/7 19:11
 * @Description
 */
@Data
@TableName(value = "major")
public class Major {
    @TableField(value = "id")
    private int id;     //主键

    @TableField(value = "major_code")
    private String majorCode;           //专业编码

    @TableField(value = "major_name")
    private String majorName;           //专业名称

    @TableField(value = "educational_system")
    private String educationalSystem;   //学制

    @TableField(value = "department_code")
    private String departmentCode;      //院系所号

    @TableField(value = "major_status")
    private Byte majorStatus;           //是否启用

    @TableField(value = "timestamp")
    private Date timestamp;             //时间戳
}
